package com.lzk.service.impl;

import com.lzk.domain.Pet;
import com.lzk.mapper.PetMapper;
import com.lzk.service.IPetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PetServiceImpl implements IPetService {
    @Autowired
    private PetMapper petMapper;
    @Override
    public Pet getById(Integer id) {
        return petMapper.getById(id);
    }
}
